package come.demo.widgets.multiplicity;

public interface DataType {
    int getItemCount();

    int getItemType(int position);

    Object getItem(int position);

    boolean containsType(int type);

    void generateTypes(int index);

    boolean remove(int position);

    boolean notifyItemChanged(int position, Object object);

    boolean notifyItemRangeChanged(int position, Object[] objects);

    boolean notifyItemInserted(int position, Object object);

    boolean notifyItemRangeInserted(int position, Object[] objects);

    boolean notifyItemMoved(int fromPosition, int toPosition);

    boolean notifyItemRemoved(int position);

    boolean notifyItemRangeRemoved(int position, int itemCount);
}
